home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / bash.postinst < prev    next >
Encoding:
Text File  |  2007-04-10  |  582 b   |  28 lines

  1. #! /bin/bash -e
  2.  
  3. # the symlink is in the package now. So this should never happen ...
  4. if [ ! -e /bin/sh ]; then
  5.     ln -s bash /bin/sh
  6. fi
  7.  
  8. update-alternatives --install \
  9.     /usr/share/man/man7/builtins.7.gz \
  10.     builtins.7.gz \
  11.     /usr/share/man/man7/bash-builtins.7.gz \
  12.     10 \
  13.   || true
  14.  
  15. if [ -x /usr/sbin/add-shell ]; then
  16.     /usr/sbin/add-shell /bin/bash
  17.     /usr/sbin/add-shell /bin/rbash
  18. fi
  19.  
  20. # Automatically added by dh_installmenu
  21. if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
  22.     update-menus
  23. fi
  24. # End automatically added section
  25.  
  26.  
  27. exit 0
  28.